﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: CorrelativeInfoEntity.cs
// 修改时间：2020-9-8 10:40:01
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：CorrelativeInfo 的实体类.
	/// </summary>
	[Table("CorrelativeInfo")]
	public partial class CorrelativeInfoEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// ID(主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private int? _generalId = 0;
		/// <summary>
		/// 要关联的内容ID
		/// </summary>
		[Column("GeneralId",TypeName="int")]
		public int? GeneralId
		{
			get {return _generalId;}
			set {_generalId = value;}
		}
		
		private int? _correlativeGeneralId = 0;
		/// <summary>
		/// 关联对象的编号
		/// </summary>
		[Column("CorrelativeGeneralId",TypeName="int")]
		public int? CorrelativeGeneralId
		{
			get {return _correlativeGeneralId;}
			set {_correlativeGeneralId = value;}
		}
		
		private int? _modelId = 0;
		/// <summary>
		/// 模型ID
		/// </summary>
		[Column("ModelId",TypeName="int")]
		public int? ModelId
		{
			get {return _modelId;}
			set {_modelId = value;}
		}
		
		private int? _orderSort = 0;
		/// <summary>
		/// 排序
		/// </summary>
		[Column("OrderSort",TypeName="int")]
		public int? OrderSort
		{
			get {return _orderSort;}
			set {_orderSort = value;}
		}
		
		#endregion
	}
}
